<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>vaeThink</title>
    {include file="../common/header"}
</head>
<body class="vae-body">

<div class="vae-content">
    <form class="layui-form layui-form-pane" style="display: inline;">

        <div class="layui-form-item" pane="">
            <label class="layui-form-label">呼叫筛选</label>
            <div class="layui-input-block">
                <input type="radio" name="dataset" value="" title="所有" checked="">
                <input type="radio" name="dataset" value="0" title="未呼叫">
                <input type="radio" name="dataset" value="1" title="已呼叫" >
            </div>
        </div>
        <div class="layui-form-item" pane="">
            <label class="layui-form-label">关系对象</label>
            <div class="layui-input-block">
                <input type="radio" name="relation" value="1" class="rel" title="对应" checked="">
                <input type="radio" name="relation" value="2" class="rel" title="家长" >
                <input type="radio" name="relation" value="3" class="rel" title="娃娃">
            </div>
        </div>
        <div class="layui-form-item" pane="">
            <label class="layui-form-label">排序方式</label>
            <div class="layui-input-block">
                <input type="radio" name="order" value="1" class="rel" title="升序" checked>
                <input type="radio" name="order" value="2"  class="rel" title="降序">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">区域选择</label>
            <div class="layui-input-inline">
                <select name="province"   required lay-verify="required" lay-filter="province" id="province">
                    <option value="">请选择省</option>
                    {foreach $provinces as $val}
                    <option value="{$val.id}">{$val.toponymy}</option>
                    {/foreach}
                </select>
            </div>
            <div class="layui-input-inline">
                <select name="city" lay-filter="city" id="city">
                    <option value="">请选择市</option>
                </select>
            </div>
            <div class="layui-input-inline">
                <select name="county" lay-filter="county" id="county">
                    <option value="">请选择县/区</option>
                </select>
            </div>

        </div>
        <div class="layui-form-item">
            <button class="layui-btn layui-btn-sm layui-btn-danger" lay-submit="" lay-filter="vaeform">提交搜索</button>
        </div>
    </form>
    <table class="layui-hide" id="list" lay-filter="test">


    </table>
</div>






{include file="../common/footer"}
<script type="text/html" id="barDemo">
    <!--    <a class="layui-btn layui-btn-xs layui-btn-primary" href="/voip/airlines_auth/useredit/id/{{d.id}}">详情</a>-->
    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="call" cid="{{d.cid}}" pid="{{d.pid}}">拨打</a>
</script>

<script type="text/html" id="serial">
    <span class="layui-btn layui-btn-xs layui-btn-primary" >
    {{#  if(!d.pid){ }}{{#  } else { }}     {{d.pid}}        {{#  } }}
    {{#  if(!d.cid){ }}{{#  } else { }}     {{d.cid}}        {{#  } }}
    </span>
</script>
<script>
    var callListUrl="{:url('airlines/airlinesAreaInfo')}";

</script>
{include file="/airlines/call"}

</body>
</html>